package com.dc.bobaoge.project.base.core.util.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * MessageSimpleBaseInfoModel
 *
 * @author chenxueli
 * @date 2024-01-15 11:16:43
 */
@Data
@NoArgsConstructor
public class MessageSimpleBaseInfoModel implements Serializable {

    /**
     * 消息id
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 消息类型
     */
    private String type;

    /**
     * 季度
     */
    private String quarter;

    /**
     * 频道id
     */
    private Long channelId;

    /**
     * 频道名称
     */
    private String channelName;

    /**
     * 标题id
     */
    private Long titleId;

    public MessageSimpleBaseInfoModel(MessageSimpleBaseInfoModel simple) {
        this.setId(simple.getId());
        this.setUserId(simple.getUserId());
        this.setType(simple.getType());
        this.setQuarter(simple.getQuarter());
        this.setChannelId(simple.getChannelId());
        this.setChannelName(simple.getChannelName());
        this.setTitleId(simple.getTitleId());
    }

}
